import request from '@/utils/request'


// 获取订单列表
export function ApiOrderList(params) {
    var statusQuery

    if(params.status.length > 0){
        statusQuery = params.status.join(",");
    }else{
        statusQuery = ''
    }
  return request({
    url: `/neworder/list?status=${statusQuery}&`,
    method: 'get',
    params
  })
}

// // 提现-下单
// export const withdrawSubmit = (params,loading) => post('/order/withdraw/create',params,loading)
// // 提现列表
// export const withdrawList = (params) => get('/order/withdraw/list',params)
